package com.gls.security.core.configurer.adapter;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;

/**
 * @author lizhiyong
 */
public interface RequestMatcherConfigurerAdapter {

    /**
     * 授权配置提供器，各个模块和业务系统可以通过实现此接口向系统添加授权配置。
     *
     * @param expressionInterceptUrlRegistry
     * @return
     */
    boolean configure(ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry);
}
